Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

[WebAssembly] Fix fast-isel lowering illegal argument and return types. #117

Merged

Conversation

alexcrichton
Copy link
Member

For both argument and return types, promote illegal types like i24 to i32,
and if a type can't be easily promoted, clear out the signature before
bailing out, so avoid leaving it in a partially complete state.

Fixes PR37546.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332947 91177308-0d34-0410-b5e6-96231b3b80d8

For both argument and return types, promote illegal types like i24 to i32,
and if a type can't be easily promoted, clear out the signature before
bailing out, so avoid leaving it in a partially complete state.

Fixes PR37546.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332947 91177308-0d34-0410-b5e6-96231b3b80d8
@alexcrichton alexcrichton merged commit 9ad4b7e into rust-lang:rust-llvm-release-6-0-0 May 22, 2018
@alexcrichton alexcrichton deleted the wasm-fix branch May 22, 2018 14:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant